package org.test1;

public class WildDuck  extends Animal implements Swimmable, Flyable {

    @Override
    public void eat() {
        System.out.println("WildDuck can eat...");
    }

    @Override
    public void fly() {
        System.out.println("WildDuck can fly");
    }

    @Override
    public void swim() {
        System.out.println("WildDuck can swim");
    }
}
